import { configureStore } from '@reduxjs/toolkit';
import counterReducer from '../features/counter/counterSlice';

export default configureStore({
  reducer: {
    counter: counterReducer,
  },
  middleware:getDefaultMiddleware => getDefaultMiddleware({
    // 关闭redux序列化检测
    serializableCheck:false
  })
});
